@echo off
if not exist %1.asm goto myflag
@echo on
copy .\_60tool\disthz.exe .\_60data
copy .\_60tool\exe2bin.com .\
cd _60data
disthz _60data.asm
pause
del disthz.exe
cd..
tasm %1.asm
pause
tlink %1.obj
if exist %1.exe exe2bin %1.exe %1.bin
@echo off
pause
if exist *.obj del *.obj
if exist *.map del *.map
if exist %1.exe del %1.exe
if exist exe2bin.com del exe2bin.com
if exist %1.bin copy %1.bin .\outfiles\
if exist %1.bin del %1.bin
goto end
:myflag
@echo Syntax is: ccdos.bat filename!
:end